<?php
error_reporting(E_ALL);
ini_set('display_errors',true);
//phpinfo();
//ini_set("display_errors",1);
require_once 'openid.php';
//echo "0"; 
$openid = new LightOpenID("test.tastyplex.com");
//$openid->version = 2;
//echo "1"; 
$openid->identity = 'https://www.google.com/accounts/o8/id';
$openid->optional = array(
  'namePerson/first',
  'namePerson/last',
  'contact/email',
);
//echo "2"; 
$openid->returnUrl = 'http://test.tastyplex.com/login.php';
echo $openid->authUrl();
?>
 
